package cn.glutnn.service;

import cn.glutnn.entity.PurchaseDetail;
import cn.glutnn.entity.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.glutnn.entity.Purchase;

import java.util.List;


/**
 * (Purchase)表服务接口
 *
 * @author msh
 * @since 2024-10-25 09:35:25
 */
public interface PurchaseService extends IService<Purchase> {

    Result<List<Purchase>> selectByPurchaseType();

    //保存订单
    void saveAndGetId(Purchase purchase);

}

